package com.company;

public class EggBasket
{
    public static void main(String[] args)
    {
        int numberOfBaskets;            //篮子数量
        int eggsPerBasket;              //每个篮子里有多少个鸡蛋
        int totalEggs;                  //所有的鸡蛋

        numberOfBaskets = 10;
        eggsPerBasket = 6;

        totalEggs = numberOfBaskets * eggsPerBasket;

        System.out.println("If you have");
        System.out.println(eggsPerBasket + " eggs per basket and");
        System.out.println(numberOfBaskets + " baskets, then");
        System.out.println("the total number of eggs is " + totalEggs);
    }
}